﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ORMAC.Attributes;

namespace ORMAC.Core
{
    internal class TableInfo
    {
        /// <summary>
        /// Table Name
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// Custom query string for query tables
        /// </summary>
        public string Query { get; set; }
        /// <summary>
        /// Table Class
        /// </summary>
        public Type ClassType { get; set; }
        /// <summary>
        /// Join Info
        /// </summary>
        public JoinColumns JoinInfo { get; set; }
        /// <summary>
        /// Link Info
        /// </summary>
        public LinkTables LinkInfo { get; set; }
        /// <summary>
        /// List of all table columns
        /// </summary>
        public List<ColumnInfo> Columns { get; set; }
    }
}
